package router

import (
	"fx_swift_ifcgate_agent/internal/controller"
	"fx_swift_ifcgate_agent/pkg/middleware"
)

func InvitationRouter() {
	invitationApiVer := miniApiVer.Group("invitation", middleware.CheckAuth())
	{
		invitationApiVer.POST("createInvitationCode", controller.CreateInvitationCode)
		invitationApiVer.GET("viewInvitationStatistics", controller.ViewInvitationStatistics)
		invitationApiVer.POST("queryInvitationList", controller.QueryInvitationList)
	}
}
